<me:UISTOCK x:Class="WPFExcelReport.TFDGB"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                     xmlns:Localization="clr-namespace:Localization;assembly=Localization"    
                    xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"  
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UISTOCK.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby10000  x:Key="dw"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UISTOCK.Resources>
    <Grid IsEnabled="{Binding IsBusy,ElementName=TV,Converter={StaticResource not}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0">
            <WrapPanel>

                <TextBlock FontSize="12" VerticalAlignment="Center" Text="{Binding Source={Localization:TranslateExtension Word=日期}}"></TextBlock>
                <TextBox FontSize="12"   Text="{Binding DTSTART,ElementName=TV}" VerticalAlignment="Center" Width="80" Background="AntiqueWhite"></TextBox>
                <TextBox    Text="{Binding LO,ElementName=TV}" MaxLength="2" Width="40" Margin="10,0,0,0"  VerticalAlignment="Center" Background="White"  CharacterCasing="Upper" TabIndex="11" />
                <TextBlock Width="Auto"  VerticalAlignment="Center">LB:</TextBlock>
                <TextBox    Text="{Binding LB,ElementName=TV}"  VerticalAlignment="Center" MaxLength="2" Width="40" Margin="10,0,0,0"  HorizontalAlignment="Left" Background="White"  CharacterCasing="Upper" TabIndex="11" />
                <Button FontSize="18" Content="{Binding Source={Localization:Translate Word=更新}}"  Margin="10,0,0,0"   Click="NewCommand"></Button>
                <Button FontSize="18" Content="{Binding Source={Localization:Translate Word=查询}}"  Margin="10,0,0,0"     Click="QueryCommand" ></Button>
                <DR:TDRAUFTR  Grid.Column="0" Name="cDR" DocType="{Binding PRTYPE,ElementName=TV}" PrintType="OpenExcel" />
                <Button FontSize="18" Content="{Binding Source={Localization:Translate Word=打印}}" Margin="20,0,0,0"   Width="Auto"  Click="PrintCommand"/>
                 
            </WrapPanel>
        </StackPanel>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0">
                <WrapPanel>
                    <TextBlock Width="Auto" VerticalAlignment="Center">LO:</TextBlock>
                    <TextBlock Width="Auto"  VerticalAlignment="Center">批号:</TextBlock>
                    <TextBox   Text="{Binding DESS,ElementName=TV}" VerticalAlignment="Center"  Width="100" Margin="10,0,0,0"  HorizontalAlignment="Left" Background="White"  CharacterCasing="Upper" TabIndex="11" />
                    <TextBlock Width="Auto"  VerticalAlignment="Center">纱线:</TextBlock>
                    <TextBox   VerticalAlignment="Center" 
                               Text="{Binding ART,ElementName=TV}"
                               Width="100" Margin="10,0,0,0"   HorizontalAlignment="Left" Background="White"  CharacterCasing="Upper" TabIndex="11" />
                    <TextBlock Width="Auto"  VerticalAlignment="Center">色号:</TextBlock>
                    <TextBox    Text="{Binding FARBE,ElementName=TV}" VerticalAlignment="Center"  Width="100" Margin="10,0,0,0"  HorizontalAlignment="Left" Background="White"  CharacterCasing="Upper" TabIndex="11" />
                    <Button Width="Auto" Content="{Binding Source={Localization:Translate Word=过滤}}" Margin="10,0,0,0"  HorizontalAlignment="Left"  Click="FilterMaster_Click"></Button>
                    <Button Width="Auto" Content="{Binding Source={Localization:Translate Word=清除}}" Margin="10,0,0,0" HorizontalAlignment="Left"  Click="FilterMasterClear_Click"></Button>
                </WrapPanel>
            </StackPanel>
            <DataGrid CanUserReorderColumns="True"   
                  Grid.Row="1"
                  Grid.Column="0"
                          FontSize="12"
                          CanUserResizeRows="True" 
                          CanUserSortColumns="True"                  
                          AutoGenerateColumns="False"   
                          EnableRowVirtualization="True"  
                          RowDetailsVisibilityMode="VisibleWhenSelected" 
                          HorizontalAlignment="Stretch" 
                          VerticalAlignment="Top"
                            Name="dlgMaster"
                          IsSynchronizedWithCurrentItem="True"
                          ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                          Margin="0,1,0,0" >
                <DataGrid.Columns>
                    <DataGridTextColumn Binding="{Binding Path=LO}" Header="{Binding Source={Localization:TranslateExtension Word=LO}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=LB}" Header="{Binding Source={Localization:TranslateExtension Word=LB}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=BEM1,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=包装}}"  Width="100" />
                    <DataGridTextColumn Binding="{Binding Path=FBPART,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=纱型}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=SPPART,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=纺批}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=ZWPART,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=捻批}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=ART}" Header="{Binding Source={Localization:TranslateExtension Word=纱线}}"  Width="80" />
                    <DataGridTextColumn Binding="{Binding Path=VAR}" Header="{Binding Source={Localization:TranslateExtension Word=变量}}"  Width="40" />
                    <DataGridTextColumn Binding="{Binding Path=FARBE,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=色号}}"  Width="60" />
                    <DataGridTextColumn Binding="{Binding Path=PATTEN,Converter={StaticResource ResourceKey=gb2312}}" Header="{Binding Source={Localization:TranslateExtension Word=包装组合}}"  Width="100" />
                    <DataGridTextColumn Binding="{Binding Path=STOCKQTY}" Header="{Binding Source={Localization:TranslateExtension Word=当前库存}}"  Width="60" />
                    <DataGridTextColumn Binding="{Binding Path=BS00}" Header="{Binding Source={Localization:TranslateExtension Word=昨日库存}}"  Width="60" />
                    <DataGridTextColumn Binding="{Binding Path=BS91}" Header="{Binding Source={Localization:TranslateExtension Word=箱数}}"  Width="60" />
                    <!--DataGridTextColumn Binding="{Binding Path=BS01}" Header="{Binding Source={Localization:TranslateExtension Word=BS01}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=LO}" Header="{Binding Source={Localization:TranslateExtension Word=LO}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=LB}" Header="{Binding Source={Localization:TranslateExtension Word=LB}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=MDATE}" Header="{Binding Source={Localization:TranslateExtension Word=日期}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS02}" Header="{Binding Source={Localization:TranslateExtension Word=BS02}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS03}" Header="{Binding Source={Localization:TranslateExtension Word=BS03}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS04}" Header="{Binding Source={Localization:TranslateExtension Word=BS04}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS05}" Header="{Binding Source={Localization:TranslateExtension Word=BS05}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS06}" Header="{Binding Source={Localization:TranslateExtension Word=BS06}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS07}" Header="{Binding Source={Localization:TranslateExtension Word=BS07}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS08}" Header="{Binding Source={Localization:TranslateExtension Word=BS08}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS09}" Header="{Binding Source={Localization:TranslateExtension Word=BS09}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS10}" Header="{Binding Source={Localization:TranslateExtension Word=BS10}}"  Width="Auto" /-->
                    <DataGridTextColumn Binding="{Binding Path=BS11}" Header="{Binding Source={Localization:TranslateExtension Word=采购}}"  Width="Auto" />
                    <!--DataGridTextColumn Binding="{Binding Path=BS12}" Header="{Binding Source={Localization:TranslateExtension Word=BS12}}"  Width="Auto" /-->
                    <DataGridTextColumn Binding="{Binding Path=BS13}" Header="{Binding Source={Localization:TranslateExtension Word=生产}}"  Width="Auto" />
                    <!--DataGridTextColumn Binding="{Binding Path=BS14}" Header="{Binding Source={Localization:TranslateExtension Word=BS14}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS15}" Header="{Binding Source={Localization:TranslateExtension Word=BS15}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS16}" Header="{Binding Source={Localization:TranslateExtension Word=BS16}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS17}" Header="{Binding Source={Localization:TranslateExtension Word=BS17}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS18}" Header="{Binding Source={Localization:TranslateExtension Word=BS18}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS19}" Header="{Binding Source={Localization:TranslateExtension Word=BS19}}"  Width="Auto" /-->
                    <DataGridTextColumn Binding="{Binding Path=BS20}" Header="{Binding Source={Localization:TranslateExtension Word=发货}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=BS21}" Header="{Binding Source={Localization:TranslateExtension Word=接收}}"  Width="Auto" />
                    <!--DataGridTextColumn Binding="{Binding Path=BS22}" Header="{Binding Source={Localization:TranslateExtension Word=BS22}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS23}" Header="{Binding Source={Localization:TranslateExtension Word=BS23}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS24}" Header="{Binding Source={Localization:TranslateExtension Word=BS24}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS25}" Header="{Binding Source={Localization:TranslateExtension Word=BS25}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS26}" Header="{Binding Source={Localization:TranslateExtension Word=BS26}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS27}" Header="{Binding Source={Localization:TranslateExtension Word=BS27}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS28}" Header="{Binding Source={Localization:TranslateExtension Word=BS28}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS29}" Header="{Binding Source={Localization:TranslateExtension Word=BS29}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS30}" Header="{Binding Source={Localization:TranslateExtension Word=BS30}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS31}" Header="{Binding Source={Localization:TranslateExtension Word=BS31}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS32}" Header="{Binding Source={Localization:TranslateExtension Word=BS32}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS33}" Header="{Binding Source={Localization:TranslateExtension Word=BS33}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS34}" Header="{Binding Source={Localization:TranslateExtension Word=BS34}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS35}" Header="{Binding Source={Localization:TranslateExtension Word=BS35}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS36}" Header="{Binding Source={Localization:TranslateExtension Word=BS36}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS37}" Header="{Binding Source={Localization:TranslateExtension Word=BS37}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS38}" Header="{Binding Source={Localization:TranslateExtension Word=BS38}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS39}" Header="{Binding Source={Localization:TranslateExtension Word=BS39}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS40}" Header="{Binding Source={Localization:TranslateExtension Word=BS40}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS41}" Header="{Binding Source={Localization:TranslateExtension Word=BS41}}"  Width="Auto" /-->
                    <DataGridTextColumn Binding="{Binding Path=BS42}" Header="{Binding Source={Localization:TranslateExtension Word=手工出库}}"  Width="Auto" />
                    <DataGridTextColumn Binding="{Binding Path=BS43}" Header="{Binding Source={Localization:TranslateExtension Word=手工入库}}"  Width="Auto" />
                    <!--DataGridTextColumn Binding="{Binding Path=BS44}" Header="{Binding Source={Localization:TranslateExtension Word=BS44}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS45}" Header="{Binding Source={Localization:TranslateExtension Word=BS45}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS46}" Header="{Binding Source={Localization:TranslateExtension Word=BS46}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS47}" Header="{Binding Source={Localization:TranslateExtension Word=BS47}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS48}" Header="{Binding Source={Localization:TranslateExtension Word=BS48}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS49}" Header="{Binding Source={Localization:TranslateExtension Word=BS49}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS50}" Header="{Binding Source={Localization:TranslateExtension Word=BS50}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS51}" Header="{Binding Source={Localization:TranslateExtension Word=BS51}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS52}" Header="{Binding Source={Localization:TranslateExtension Word=BS52}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS53}" Header="{Binding Source={Localization:TranslateExtension Word=BS53}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS54}" Header="{Binding Source={Localization:TranslateExtension Word=BS54}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS55}" Header="{Binding Source={Localization:TranslateExtension Word=BS55}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS56}" Header="{Binding Source={Localization:TranslateExtension Word=BS56}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS57}" Header="{Binding Source={Localization:TranslateExtension Word=BS57}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS58}" Header="{Binding Source={Localization:TranslateExtension Word=BS58}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS59}" Header="{Binding Source={Localization:TranslateExtension Word=BS59}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS60}" Header="{Binding Source={Localization:TranslateExtension Word=BS60}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS61}" Header="{Binding Source={Localization:TranslateExtension Word=BS61}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS62}" Header="{Binding Source={Localization:TranslateExtension Word=BS62}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS63}" Header="{Binding Source={Localization:TranslateExtension Word=BS63}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS64}" Header="{Binding Source={Localization:TranslateExtension Word=BS64}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS65}" Header="{Binding Source={Localization:TranslateExtension Word=BS65}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS66}" Header="{Binding Source={Localization:TranslateExtension Word=BS66}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS67}" Header="{Binding Source={Localization:TranslateExtension Word=BS67}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS68}" Header="{Binding Source={Localization:TranslateExtension Word=BS68}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS69}" Header="{Binding Source={Localization:TranslateExtension Word=BS69}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS70}" Header="{Binding Source={Localization:TranslateExtension Word=BS70}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS71}" Header="{Binding Source={Localization:TranslateExtension Word=BS71}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS72}" Header="{Binding Source={Localization:TranslateExtension Word=BS72}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS73}" Header="{Binding Source={Localization:TranslateExtension Word=BS73}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS74}" Header="{Binding Source={Localization:TranslateExtension Word=BS74}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS75}" Header="{Binding Source={Localization:TranslateExtension Word=BS75}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS76}" Header="{Binding Source={Localization:TranslateExtension Word=BS76}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS77}" Header="{Binding Source={Localization:TranslateExtension Word=BS77}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS78}" Header="{Binding Source={Localization:TranslateExtension Word=BS78}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS79}" Header="{Binding Source={Localization:TranslateExtension Word=BS79}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS80}" Header="{Binding Source={Localization:TranslateExtension Word=BS80}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS81}" Header="{Binding Source={Localization:TranslateExtension Word=BS81}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS82}" Header="{Binding Source={Localization:TranslateExtension Word=BS82}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS83}" Header="{Binding Source={Localization:TranslateExtension Word=BS83}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS84}" Header="{Binding Source={Localization:TranslateExtension Word=BS84}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS85}" Header="{Binding Source={Localization:TranslateExtension Word=BS85}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS86}" Header="{Binding Source={Localization:TranslateExtension Word=BS86}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS87}" Header="{Binding Source={Localization:TranslateExtension Word=BS87}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS88}" Header="{Binding Source={Localization:TranslateExtension Word=BS88}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS89}" Header="{Binding Source={Localization:TranslateExtension Word=BS89}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS90}" Header="{Binding Source={Localization:TranslateExtension Word=BS90}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS91}" Header="{Binding Source={Localization:TranslateExtension Word=BS91}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS92}" Header="{Binding Source={Localization:TranslateExtension Word=BS92}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS93}" Header="{Binding Source={Localization:TranslateExtension Word=BS93}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS94}" Header="{Binding Source={Localization:TranslateExtension Word=BS94}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS95}" Header="{Binding Source={Localization:TranslateExtension Word=BS95}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS96}" Header="{Binding Source={Localization:TranslateExtension Word=BS96}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS97}" Header="{Binding Source={Localization:TranslateExtension Word=BS97}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS98}" Header="{Binding Source={Localization:TranslateExtension Word=BS98}}"  Width="Auto" />
                        <DataGridTextColumn Binding="{Binding Path=BS99}" Header="{Binding Source={Localization:TranslateExtension Word=BS99}}"  Width="Auto" /-->
                </DataGrid.Columns>
            </DataGrid  >
            <WrapPanel Grid.Row="2" Grid.Column="1">
                <WrapPanel >
                    <TextBlock Text="{Binding TKEY1}"  Margin="10,0,0,0"></TextBlock>
                    <TextBlock Text="{Binding SUM1,Converter={StaticResource d100}}" Foreground="Red" Margin="10,0,0,0"></TextBlock>
                    <TextBlock Text="{Binding TKEY2}"   Margin="10,0,0,0"></TextBlock>
                    <TextBlock Text="{Binding SUM2}" Foreground="Red" Margin="10,0,0,0"></TextBlock>
                    <TextBlock Text="{Binding Counts}" Foreground="Red" Margin="20,0,0,0"></TextBlock>
                </WrapPanel>
            </WrapPanel>
        </Grid>
    </Grid>
</me:UISTOCK>
